package cn.spring.ly.mapper;

import cn.spring.ly.entity.Goods;
import cn.spring.ly.page.PageInfo;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ly
 * @since 2018-12-19
 */
public interface GoodsDao extends BaseMapper<Goods> {

	PageInfo<Goods> selectByPage(Page<Goods> page,@Param("name") String name,
			@Param("catePid") Integer catePid);
}
